package com.mayuhao.loginmanage.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mayuhao.loginmanage.entity.CssUserRole;
import com.mayuhao.loginmanage.entity.CssUserRoleVO;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 马宇豪
 * @since 2022-10-23
 */
public interface ICssUserRoleService extends IService<CssUserRole> {
    CssUserRoleVO login(CssUserRoleVO userRoleVO);

    /**
     * @return boolean
     * @description 请修改方法描述
     * @methodName changePassword
     * @params [newpassword]
     * @paramType [java.lang.String]
     * @author 马宇豪
     * @date 2022/11/12 0012 下午 2:15
     * @email 1757442521@qq.com
     **/
    boolean changeStudentPassword(String studentId, String newPassword);

    /**
     * @return boolean
     * @description 请修改方法描述
     * @methodName changeTeacherPassword
     * @params [teacherId, newPassword]
     * @paramType [java.lang.String, java.lang.String]
     * @author 马宇豪
     * @date 2022/11/12 0012 下午 2:50
     * @email 1757442521@qq.com
     **/
    boolean changeTeacherPassword(String teacherId, String newPassword);

    /**
     * @return boolean
     * @description 请修改方法描述
     * @methodName changeAdminPassword
     * @params [adminId, newPassword]
     * @paramType [java.lang.String, java.lang.String]
     * @author 马宇豪
     * @date 2022/11/12 0012 下午 2:56
     * @email 1757442521@qq.com
     **/
    boolean changeAdminPassword(String adminId, String newPassword);
}
